import ajax from '@/request'

export interface IHttpResult<T> {
    code: string;
    msg: string;
    success: boolean;
    timestamp: number;
    data: T;
}

/* 发送联系工单 */
export const sendContactWorkOrder = (data: any): Promise<IHttpResult<any>> =>
    ajax.post(`/css/smsTools/sendContactWorkOrder`, data, {
        headers: {
            'client-type': 'common', // 端的标识pc/app/common
            'x-api-version': '1.0.1', //版本
        }
    });